#pragma once

#include <list>
#include "IXWindow.h"

class UIManager
{
public:
    UIManager();
    ~UIManager();

    void AddWindow(IXWindow* pWindow);
    void RemoveWindow(IXWindow* pWindow);
    void RemoveAllWindow();

protected:
    void Check();

protected:
    typedef std::list<IXWindow*>    WindowList;
    WindowList  m_listWindow;
};